<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>钻石投票_权限套餐</title>
    <link rel="stylesheet" href="__CSS__/font-awesome.css"/>
    <link rel="stylesheet" href="__JS__/layui/css/layui.css"/>
    <link rel="stylesheet" href="__MCSS__/bass.css"/>
    <link rel="stylesheet" href="__MCSS__/layui-formadd.css"/>
    <link rel="stylesheet" href="__MCSS__/layui-pageadd.css"/>
    <link rel="stylesheet" href="__MCSS__/public.css"/>
    <link rel="stylesheet" href="__MCSS__/layui-add.css"/>
    <link rel="stylesheet" href="__MCSS__/all_active.css"/>

</head>
<body>
<div class="all-activ">
    <div class="all-activ-body">
        <!--面包屑-->
        <p class="bread-crumbs-nav"><span class="span1">微活动</span><i class="fa fa-caret-right"></i><span class="span2">全部活动</span></p>
        <div class="all-activ-nav">

            <div class="activ-nav-list {eq name="$parame.top_time" value="1"}activ-nav-add{/eq}" data-top="1">全部活动<span>({$count})</span></div>
            <div class="activ-nav-list {eq name="$parame.top_time" value="2"}activ-nav-add{/eq}" data-top="2">报名中<span>(2)</span></div>
            <div class="activ-nav-list {eq name="$parame.top_time" value="3"}activ-nav-add{/eq}" data-top="3">进行中<span>(2)</span></div>
            <div class="activ-nav-list {eq name="$parame.top_time" value="4"}activ-nav-add{/eq}" data-top="4">已结束<span>(1)</span></div>
            <div class="activ-nav-list {eq name="$parame.top_time" value="5"}activ-nav-add{/eq}" data-top="5">未开始<span>(1)</span></div>
            <div class="activ-nav-list {eq name="$parame.top_time" value="6"}activ-nav-add{/eq}" data-top="6">待审核选手<span>(69)</span></div>
        </div>
        <div class="all-activ-set">
            <p class="activ-set-name" style="display:none;">选择账户：</p>
            <div class="activ-set-admin">
                <form class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-input-block" style="margin-left:0px;">
                            <select name="city" lay-verify="required">
                                <option value="0">全部活动</option>
                                <option value="1">当前账户</option>
                                <option value="2">张三三</option>
                                <option value="3">李四</option>
                                <option value="4">王二</option>
                                <option value="5">负责加票周某某</option>
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="activ-set-seach">
                {if condition="$parame.super eq 1"}
                <input type="text" placeholder="ID/名称" value="{$parame.keyword}">
                {else/}
                <input type="text" placeholder="活动序号/名称" value="{$parame.keyword}">
                {/if}
                <span class="a-keywords-search">搜索</span></div>
            <p class="activ-set-name" style="display:none;">选择时间：</p>
            <div class="activ-set-time-select">
                <form class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-input-block" style="margin-left:0px;">
                            <select name="start_id" lay-filter="start_id" id="start_id">
                                {eq name="$parame.start_id" value="0"}selected{/eq}
                                <option value="0" {eq name="$parame.start_id" value="0"}selected{/eq}>开始时间</option>
                                <option value="1" {eq name="$parame.start_id" value="1"}selected{/eq}>结束时间</option>
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="activ-set-time">
                <div class="activ-set-time-day {eq name="$parame.type_time" value="1"}activ-set-time-add{/eq}" data-section="1">全部</div>
                <div class="activ-set-time-day {eq name="$parame.type_time" value="2"}activ-set-time-add{/eq}" data-section="2">昨天</div>
                <div class="activ-set-time-day {eq name="$parame.type_time" value="3"}activ-set-time-add{/eq}" data-section="3">今天</div>
                <div class="activ-set-time-day {eq name="$parame.type_time" value="4"}activ-set-time-add{/eq}" data-section="4">明天</div>
                <div class="activ-set-time-day {eq name="$parame.type_time" value="5"}activ-set-time-add{/eq}" data-section="5">后天</div>
            </div>
            <p class="activ-set-name">日期范围：</p>
            <div class="activ-set-dat">
                <input type="text" class="layui-input" id="set-dat-choose" placeholder="请选择时间段" value="{$parame.button_time}">
            </div>
        </div>
        <div class="activ-table">
            <div class="activ-table-tit">
                <ul>
                    <li class="li1">

                        {if condition="($parame.filed_sort eq 'id') OR ($parame.filed_sort eq 'serial')"}
                            {if condition="$parame.super eq 1"}
                            <span class="span1 addblock color1">ID</span>
                            {else/}
                            <span class="span1 addblock color1">序号</span>
                            {/if}
                        {else/}
                            {if condition="$parame.super eq 1"}
                            <span class="span1 addblock">ID</span>
                            {else/}
                            <span class="span1 addblock">序号</span>
                            {/if}
                        {/if}
                        {if condition="($parame.filed_sort eq 'id') OR ($parame.filed_sort eq 'serial')"}
                        <span class="span5 addblock color1">
                            <i class="fa {$parame.arrows_order}"></i>
                        </span>
                        {else/}
                        <span class="span5 addblock">
                            <i class="fa fa-long-arrow-down"></i>
                        </span>
                        {/if}

                    </li>
                    <li class="li2">轮播首图</li>
                    <li class="li3">活动名称</li>
                    <li class="li4">活动时间</li>
                    <li class="li5">
                        {if condition="$parame.filed_sort eq 'competitor_number'"}
                        <span class="span1 addblock color1">选手数量</span>
                        <span class="span5 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span1 addblock">选手数量</span>
                        <span class="span5 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                    </li>
                    <li class="li6">
                        {if condition="$parame.filed_sort eq 'day_vote_num'"}
                        <span class="span1 addblock color1">今</span>
                        {else/}
                        <span class="span1 addblock">今</span>
                        {/if}
                        <span class="span2">/</span>
                        {if condition="$parame.filed_sort eq 'vote_num'"}
                        <span class="span3 addblock color1">总</span>
                        {else/}
                        <span class="span3 addblock">总</span>
                        {/if}
                        <span class="span4">票数</span>
                        {if condition="$parame.filed_sort eq 'day_vote_num'"}
                        <span class="span5 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span5 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                        {if condition="$parame.filed_sort eq 'vote_num'"}
                        <span class="span6 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span6 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                    </li>
                    <li class="li7">

                        {if condition="$parame.filed_sort eq 'day_gift_price'"}
                        <span class="span1 addblock color1">今</span>
                        {else/}
                        <span class="span1 addblock">今</span>
                        {/if}
                        <span class="span2">/</span>
                        {if condition="$parame.filed_sort eq 'gift_price'"}
                        <span class="span3 addblock color1">总</span>
                        {else/}
                        <span class="span3 addblock">总</span>
                        {/if}
                        <span class="span4">礼物</span>
                        {if condition="$parame.filed_sort eq 'day_gift_price'"}
                        <span class="span5 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span5 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                        {if condition="$parame.filed_sort eq 'gift_price'"}
                        <span class="span6 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span6 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                    </li>
                    <li class="li8">

                        {if condition="$parame.filed_sort eq 'real_visitor_num'"}
                        <span class="span1 addblock color1">实</span>
                        {else/}
                        <span class="span1 addblock">实</span>
                        {/if}
                        <span class="span2">/</span>
                        {if condition="$parame.filed_sort eq 'visitor_num'"}
                        <span class="span3 addblock color1">总</span>
                        {else/}
                        <span class="span3 addblock">总</span>
                        {/if}
                        <span class="span4">浏览量</span>
                        {if condition="$parame.filed_sort eq 'real_visitor_num'"}
                        <span class="span5 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span5 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                        {if condition="$parame.filed_sort eq 'visitor_num'"}
                        <span class="span6 addblock color1"><i class="fa {$parame.arrows_order}"></i></span>
                        {else/}
                        <span class="span6 addblock"><i class="fa fa-long-arrow-down"></i></span>
                        {/if}
                    </li>
                    <li class="li9">活动链接</li>
                    <li class="li10">状态</li>
                    <li class="li11">操作</li>
                    <li class="li12">备注</li>
                </ul>
            </div>
            <div class="activ-table-main">
                <div class="main-sub">
                    {volist name="list" id="vo"}
                    <ul class="ul-top" data-id="{$vo.id}">
                        {if condition="$parame.super eq 1"}
                        <li class="li1"><span class="span1">{$vo.id}</span></li>
                        {else/}
                        <li class="li1"><span class="span1">{$vo.serial}</span></li>
                        {/if}
                        <li class="li2"><img src="__MIMG__/1.jpg" alt=""><p><img src="__MIMG__/1.jpg" alt=""></p></li>
                        <li class="li3"><a href="/" title="选手管理">{$vo.title}</a></li>
                        <li class="li4">
                            <p class="p1">开始：{:date('Y-m-d H:i:s',$vo.start_time)}</p>
                            <p class="p1 end_time" data-time="{$vo.end_time}">结束：{:date('Y-m-d H:i:s',$vo.end_time)}</p>
                            <p class="p2">计时：0天0时0分0秒</p>

                        </li>
                        <li class="li5">
                            <p>{$vo.competitor_number}</p>
                        </li>
                        <li class="li6">
                            <p class="p1">今：{$vo.day_vote_num}</p>
                            <p class="p2">实：{$vo.true_vote_num}</p>
                            <p class="p2">总：{$vo.vote_num}</p>
                        </li>
                        <li class="li7">
                            <p class="p1">今：{$vo.day_gift_price}</p>
                            <p class="p2">实：{$vo.true_gift_price}</p>
                            <p class="p2">总：{$vo.gift_price}</p>
                        </li>
                        <li class="li8">
                            <p class="p1">实：{$vo.real_visitor_num}</p>
                            <p class="p1" data-vnum="{$vo.visitor_num}">总：{$vo.visitor_num}</p>
                            <p class="p2"><input type="number" name="real_visitor_num" min="0" value="0"><span class="add_visitor">加</span></p>
                        </li>
                        <li class="li9"><img src="__MIMG__/index.png" alt=""></li>
                        <li class="li10">{:htmlspecialchars_decode($vo.status_tit)}</li>
                        <li class="li11">
                            <div class="ld d1">
                                <p class="lp p1" onclick="checkRule(8)"><i class="fa fa-diamond"></i>礼物</p>
                                <p class="lp p2"><i class="fa fa-line-chart"></i>投票</p>
                                <p class="lp p3"><i class="fa fa-group"></i>选管</p>

                            </div>
                            <div class="ld d2">
                                <p class="lp p1"><i class="fa fa-link"></i>域名</p>
                                <p class="lp p2"><i class="fa fa-pencil-square-o"></i>修改</p>
                                <p class="lp p3"><i class="fa fa-plus"></i>加票</p>
                            </div>
                            <div class="ld d3">
                                <p class="lp p1"><i class="fa fa-copy"></i>复制</p>
                                <p class="lp p2"><i class="fa fa-exclamation"></i>举报</p>
                                <p class="lp p3"><i class="fa fa-trash-o"></i>删除</p>
                            </div>
                        </li>
                        <li class="li12">{$vo.remark}</li>
                    </ul>
                    {/volist}
                </div>
            </div>
            <div class="all-activ-page"><div id="all-activ-page-list"></div></div>
        </div>
    </div>
</div>



<script src="__JS__/jquery_v3.3.1.js"></script>
<script src="__JS__/layer/layer.js"></script>
<script src="__JS__/layui/layui.js"></script>
<script src="__MJS__/common.js"></script>
<script>
    var zcount = "{$count}";
    $(document).on('click','.a-keywords-search',function () {
        var _this = $(this);
        var _val = $.trim(_this.prev().val());
        if(_val == ''){
            layer.msg('请输入搜索内容');return false;
        }
        var top = $('.activ-nav-add').attr('data-top');
        window.location.href="/admin/activity/listtpl?top_time="+top+"&keyword="+_val;
    });

</script>
<script src="__MJS__/all_active.js?ver=9"></script>
</body>
</html>




